<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <hello v-for="item in items" v-bind:it="item"></hello>
    </div>
    
</body>
<script src="../js/vue.js"></script>
<script>
    Vue.component("hello", {
        props:['it'],
        template:'<li>{{it}}</li>'
    });
    var vue = new Vue({
        el: "#app",
        data:{
            items: ["java", "vue", "node"]
        }
    });
</script>
</html>